<template>
	<view class="content_view">
		<u-navbar title-color="#FFFFFF" height="48" back-icon-color="#FFFFFF" :border-bottom="false" :is-fixed="true" title="维保任务列表"></u-navbar>
		<uc-content :loading="loading">
			<view v-if="inMaintenanceList.length<1" class="view-center">
				<u-empty text="暂无维保任务数据信息" mode="list"></u-empty>
			</view>
			<view v-else>
				<view class="list-item" v-for="(item,index) in inMaintenanceList" :key="index" @click="checkItem(item)">
					<view class="list-top">
						<view class="list-left">任务标题:{{ item.title }}</view>
					</view>
					<view class="list-center u-line-2">
						<view class="list-right">业主企业:{{ item.enterpriseName }}</view>
						<view class="list-right">维保企业:{{ item.maintenaceEnterpriseName }}</view>
					</view>
					<view class="list-bottom">
						<view class="list-right">执行月:{{item.executeMouth}}月</view>
					</view>
				</view>
			</view>
			<u-loadmore :status="status" :icon-type="iconType" :load-text="loadText" />
		</uc-content>

	</view>
</template>

